<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %> 
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form" %>  

            
            <sec:authorize access="hasRole('ROLE_HR')">
                <form action="/conf" method="post">
                	<input type="submit" value="创建产品"/>
                </form>
            </sec:authorize>
            <sec:authorize access="hasRole('ROLE_HR')">
                <form action="/createFactor" method="post">
                	<input type="submit" value="创建因子"/>
                </form>
            </sec:authorize>

            <sec:authorize access="hasRole('ROLE_COMMON')">
                <form action="/insurance" method="post">
                	<input type="submit" value="投保"/>
                </form>
            </sec:authorize>
            <sec:authorize access="hasRole('ROLE_COMMON')">
                <form action="/insuranceListStep1" method="post">
                	<input type="submit" value="查看"/>
                </form>
            </sec:authorize>
            
            <form action="/toUploadPage" method="post">
                	<input type="submit" value="上传文件"/>
            </form>
            
            <form:form action="/logout" method="post">
            
                	<input type="submit" value="退出"/>
            </form:form>
            
            <form action="/listfactorOption" method="post">
                    <input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}"/>
                	<input type="submit" value="显示所有因子选项"/>
            </form>
            
            <form action="http://www.jiangtai.com" method="post">
                	<input type="submit" value="链接"/>
            </form>
            
            
            
            
     